
export interface Result {
  message?: string;
  data?: any;
  code?: number | string;
  [key: string]: unknown;
} 

export interface ResultError {
  status?: number | string;
  message?: string;
  code?: number | string | unknown;
  data?:{
    message?:string;
    code?: number | string | unknown;
    status?: number | string;
  };
  [key: string]: unknown;
}

export interface listPageType {
  total?: number | string;
  limit?: number | string;
  page?: number | string;
}

export type enumType = Array<{
  name:string;
  value:number | string;
}>

